<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <title>评选投票_方案一</title>
    <link rel="stylesheet" href="/templates/default/css/frozen.css">
    <link rel="stylesheet" href="/templates/default/css/style.css"></head>
<body>

<footer class="ui-footer ui-footer-btn">
    <ul class="ui-tiled ui-border-t">
        <li>
            <div>
                <a href="/home/index/articleList"><img src="/templates/default/images/btn2_01a.png" alt="评选投票"/></a>
            </div>
        </li>
        <li>
            <div>
                <a href="/home/index/vote_result"><img src="/templates/default/images/btn2_02.png" alt="投票记录"/></a>
            </div>
        </li>
    </ul>
</footer>
<section class="ui-container">
    <div class="head2">
        <img src="/templates/default/images/head2.png" alt="">
    </div>
    <div class="list01">
        {{foreach from=$article_list item=i key=key}}
            <a class="item" href="/home/index/articleDetail&category_id={{$i.category_id}}">
                <div class="id">{{$key+1}}</div>
                <div class="h1">{{$i.article_title}}</div>
                <div class="p">部门：{{$i.article_dept}}&nbsp; 出场：{{$i.article2_count}}人</div>
            </a>
        {{/foreach}}
        <div class="item listend">

        </div>
    </div>
</section>

<script class="demo-script">




</script>

</body>
</html>
<!--图片放大功能 by lijianjun 2017.1.15-->
<script>
    $(document).ready(function() {
        $("img[id^='smallpic_']").click(function(){
            var id=$(this).attr("id").split("smallpic_")[1];
            //alert(id);
            $('.bg').css({'display':'block'});
            $('#largepic_'+id).show();
        });
        $("div[id^='largepic_']").click(function(){
            var id=$(this).attr("id").split("largepic_")[1];
            //alert(id);
            $('.bg').css({'display':'none'});
            $('#largepic_'+id).hide();
        });
    });
</script>